package prehilife;

public abstract class WorldFactory {

    public static AbstractWorld createWorld(int type) {
        AbstractWorld world;
        if (type == 1) {
            world = new PrehiWorld();

        }else{
            world=null;
        }
        return world;
    }
}